<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class FaceStarRanks extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
       Schema::create('face_star_ranks',function(Blueprint $table){
           $table->engine="InnoDB"; 
           $table->increments('id');
           $table->float('min',6,2);  //最小值
           $table->float('max',6,2);  //最大值
           $table->integer('star'); //获取星数
           $table->rememberToken();
           $table->timestamps();
       });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
         Schema::drop('face_star_ranks');
    }
}
